﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp11
{
    class Divide : Calculate
    {
        public override void DisplayResult()
        {
            //base.calc(num1, oper, num2);
            int res = Num1 / Num2;
            Console.WriteLine("计算结果为：" + res);
        }
        public Divide(int num1, int num2) : base(num1, num2)
        {
        }
    }
}
